﻿using System;
using System.Xml;

namespace YArchitech.HVAC
{
	internal class ListAttrZhaoMing : Attribute
	{
		public ListAttrZhaoMing()
		{
			XmlNodeList xmlNodeList = XmlInfo.docSpaceType.SelectNodes("SpaceTypes/DaySchedules/DaySchedule[@cate='照明']");
			this.lists = new string[xmlNodeList.Count];
			for (int i = 0; i < xmlNodeList.Count; i++)
			{
				this.lists[i] = xmlNodeList.Item(i).Attributes["name"].Value;
			}
		}

		public string[] lists;
	}
}
